package com.monitor.pubInter;


import com.monitor.pubInter.exception.SkException;

import java.util.List;

/**
* @author sunke
* @Date 2019-09-09 16:31:10
* @description
*/

public interface IBaseFindDao<T extends AbstractBaseDoMain, TS extends BaseSearch, KeyType> {

    T getDetail(KeyType id) throws SkException;

    List<T> getList(TS search) throws SkException;

    int getListCount(TS search) throws SkException;

    List<T> getAllList(TS search) throws SkException;
}
